{template 'admin','header'}
<form action="" method="POST" onsubmit="return r_submit(this);">
    <input type="hidden" name="site_id" value="{$site_id}"/>
    <table cellpadding="2" cellspacing="1" class="table_form">
        <caption>修改调查问卷</caption>
        <tr>
            <th width="20%"><font color="red">*</font><strong>调查问卷名称</strong></th>
            <td>
                <input type="text" id="name" name="name" size="20" value="{$info['name']}"/>
            </td>
        </tr>
        <tr>
            <th><strong>调查问卷图片</strong></th>
            <td>
                {form::image("thumb","thumb","$info[thumb]")}
            </td>
        </tr>
        <tr>
            <th><strong>调查问卷简介</strong></th>
            <td>
                <textarea name="description" rows="2" cols="20" id="description" class="inputtext" style="height: 100px; width: 500px;">{$info['description']}</textarea>
            </td>
        </tr>
        <tr>
            <th><strong>协办单位</strong></th>
            <td>
                <input type="text" id="units" name="units" size="20" value="{$info['units']}"/>
            </td>
        </tr>
        <tr>
            <th><strong>开始时间</strong></th>
            <td>
                {date_tool("startdate",$info['startdate'])}
            </td>
        </tr>
        <tr>
            <th><strong>结束时间</strong></th>
            <td>
                {date_tool("enddate",$info['enddate'])}
            </td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value=" 确定 " class="button_style">&nbsp;
                <input type="button" class="button_style" onclick="self.location='{urldecode($forward)}'" value=" 返回 ">
            </td>
        </tr>
    </table>
    <input type="hidden" name="id" value="{$info['id']}">
    <input type="hidden" name="forward" value="{$forward}">
</form>
{template 'admin','footer'}